/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bradley.principals.ObjectOriented.inheritence;

/**
 *
 * @author Balla
 */
public class Person {
    private String name;
    private String surname;

    public Person(String name, String surname) {
        this.name = name;
        this.surname = surname;
    }

    @Override
    public String toString() {
        return "name: " + name + " Surname: " + surname ;
    }
    
    
}
